import request from '@/utils/request'

export function getTableList(data) {
  return request({
    url: `andon/grade/page`,
    method: 'post',
    data: data
  })
}

export function search(data) {
  return request({
    url: `/andon/grade/${data}`,
    method: 'get'
  })
}

export function save(data) {
  return request({
    url: `/andon/grade/saveOrUpdate`,
    method: 'post',
    data: data
  })
}

export function remove(data) {
  return request({
    url: `/andon/grade/delete`,
    method: 'post',
    data: data
  })
}
